package com.bwie.service;

import com.bwie.pojo.TUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.pojo.TbBrand;
import com.bwie.pojo.TbUser;
import com.bwie.utils.R;
import com.bwie.utils.Result;
import com.bwie.vo.LoginFrom;
import com.bwie.vo.PageInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author wx200
* @description 针对表【t_user】的数据库操作Service
* @createDate 2025-05-21 16:26:42
*/
public interface TUserService extends IService<TUser> {

    Result login(LoginFrom login);

    Result getMenuTree(Integer userId);

    Result selectList(PageInfoVo pageInfoVo);

    Result uploadFile(MultipartFile file);

    Result updateFile(TbUser tbUser);

    Result getBrandList(PageInfoVo pageInfoVo);

    Result deleteById(Integer userId);

    Result deleteAll(List<TbUser> tbUserList);

    Result checkUser(TbUser tbUser);

    Result addBrand(TbBrand tbBrand);
}
